public class CustomerInfo {
    public void getCustomerInfo() throws java.io.FileNotFoundException, java.io.IOException {
        try{
            //do something that may cause an Exception
        } catch(java.lang.Exception ex) {
            System.out.println("Exception");
        }
    }
}

